//
//  AppController.h
//  TraceViewer
//
//  Created by Vladimir Sarpe on 24/06/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <BottomView.h>
#import <TopView.h>
#import <SideViewDataSource.h>

@interface AppController : NSObject {
	NSMutableArray* events;
	NSMutableArray* send;
	NSMutableArray* spawn;
	NSMutableArray* die;
	NSMutableArray* procs;
	NSString* lastevent;
	NSString* curr_proc;
	NSString* start;
	NSString* end;
	int p_sends;
	int p_spawns;
	int p_rec;
	
	IBOutlet SideViewDataSource* dataSource;
	IBOutlet NSSlider* slider;
	IBOutlet TopView* topView;
	IBOutlet BottomView* bottomView;
	IBOutlet NSTableView* sideView;
	IBOutlet NSProgressIndicator* progress;
	IBOutlet NSTextField* showAction;
}

-(IBAction)open:(id)sender;
- (IBAction)zoom:(id)sender;
-(IBAction)search:(id)sender;
- (void)breakEvent:(NSString*) event fromFile:(NSString*) file;
@end
